Skip to content

Add libcap-ng 0.8.2 and libseccomp 2.5.1 #2151

Merged
merged 2 commits into from
May 28, 2021
Merged

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented May 28, 2021

Building virtiofsd from QEMU requires both libraries.

../tools/meson.build:12:6: ERROR: Problem encountered: virtiofsd requires libcap-ng-devel and seccomp-devel

From the [GitHub project page][1]:

> Libcap-ng is a library for Linux that makes using posix capabilities
> easy.

virtiofsd requires libcap-ng:

    ../tools/meson.build:12:6: ERROR: Problem encountered: virtiofsd requires libcap-ng-devel and seccomp-devel

Run `autogen.sh` in the source directory, as it requires `configure.ac`
in the same directory, and Bee’s buildtype *autogen* is run from the
build directory. Running it manually, the buildtype *autotools* is used.

    [BEE] using magic buildtype 'autotools' from '/usr/libexec/bee/beesh.d/autotools.sh' ..

[1]: https://github.com/stevegrubb/libcap-ng/
From the [Web site][1]:

> The libseccomp library provides an easy to use, platform independent,
> interface to the Linux Kernel's syscall filtering mechanism. The
> libseccomp API is designed to abstract away the underlying BPF based
> syscall filter language and present a more conventional function-call
> based filtering interface that should be familiar to, and easily
> adopted by, application developers.

virtiofsd requires libseccomp:

    ../tools/meson.build:12:6: ERROR: Problem encountered: virtiofsd requires libcap-ng-devel and seccomp-devel

[1]: https://github.com/seccomp/libseccomp
@donald
Copy link
Collaborator

donald commented May 28, 2021

All these libraries making things "easy" ... Anyway, shouldn't hurt to have these, so just do it.

@pmenzel pmenzel merged commit f935c2c into master May 28, 2021
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants